/**
 * Created by baiguiren on 2/16/17.
 */

let _ = require('lodash');

console.log(_.map([1, 2], v=>{if (v == 2) {return 3;}}));
console.log(_.some([1, 2], v=>{if (v < 0) return true;}));